package com.yquan.demo.advantage.rmi;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class DispTimeImpl extends UnicastRemoteObject implements DispTimeIntf {
    protected DispTimeImpl() throws RemoteException {
        super();
    }

    public String dispTime(final String time) throws RemoteException {
        System.err.println("get from Server: " + time);
        return time;
    }
}
